Q3Light_GetType
You can use theQ3Light_GetType
function to get the type of a light object.
TQ3ObjectType Q3Light_GetType (TQ3LightObject light);
light
- A light object.
DESCRIPTION
TheQ3Light_GetType
function returns, as its function result, the type of the light object specified by thelight
parameter. The types of light objects currently supported by QuickDraw 3D are defined by these constants:
kQ3LightTypeAmbient kQ3LightTypeDirectional kQ3LightTypePoint kQ3LightTypeSpotIf the specified light object is invalid or is not one of these types,Q3Light_GetType
returns the valuekQ3ObjectTypeInvalid
.